<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
    <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/static/css/style.css">
    <title>登录</title>
</head>
<body>
<img src="/static/img/login.png" alt="" class="wave">
<div class="container">
    <div class="img">
    </div>
    <div class="login-box">
        <form action="" method="post">
            <img src="/static/img/avatar.svg" alt="" class="avatar">
            <h2>欢迎</h2>
            <div class="input-group">
                <div class="icon">
                    <i class="fa fa-user"></i>
                </div>
                <div>
                    <h5>用户名</h5>
                    <input type="text" class="input" name="username">
                </div>
            </div>
            <div class="input-group">
                <div class="icon">
                    <i class="fa fa-lock"></i>
                </div>
                <div>
                    <h5>密码</h5>
                    <input type="password" class="input" name="password">
                </div>
            </div>
            <a href="/signup">立刻注册</a>
            <input type="submit" class="btn" value="登录">
        </form>
    </div>
</div>
<script src="/static/js/app.js" type="text/javascript"></script>
</body>
</html>
<script>
    {% if msg %}
        alert('{{ msg }}');
    {% endif %}
</script>